<%@page language="java" pageEncoding="UTF-8"%>    
<%@page contentType="text/html; charset=UTF-8"%>
<%@page import="java.net.*" %>

<%    
      String path = request.getContextPath(); 
	  response.setHeader("ContentType","text/xml");  
      response.setHeader("Pragma","No-Cache");   
      response.setDateHeader("Expires",0);   
      response.setHeader("Cache-Control","No-Cache");  
      //request.setCharacterEncoding("gbk");
%>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>高级搜索 行业专家 国家安科网 </title>

<link href="<%=path%>/common1/css/layout.css" rel="stylesheet" type="text/css" />
<link href="<%=path%>/common1/css/user.css" rel="stylesheet" type="text/css" />
   
<script language = "javascript" src = "../common/js/pool.js" type = "text/javascript"></script>
<script language = "javascript" src = "js/search.js" type = "text/javascript"></script>
<script language = "javascript" src = "js/setcondition.js" type = "text/javascript"></script>
<script language = "javascript" src = "../common/js/list.js" type = "text/javascript"></script>

<script type="text/javascript" src="<%=path%>/includes/styleBase/js/jquery.js"></script>

<script language="javascript">


	var fPath = "http://" + location.host + "/SSTA/expert1/";


	function resetForm(){
		$("#item_180").val("");
		$("#WorkSpeciality").val("");
		$("#Achievement").val("");
		$("#item_185").val("");
		$("#province").val("");
		$("#item_182").val("");
		$("#item_184").val("");
	}


	//推荐科研专家
    function load_expert_pos2(divid,http){
			$.ajax({
				type:"POST",
				url:http,
				error:function(msg)
				{
					//alert("操作失败，请重试！"+msg);
				},
			    success:function(data)
			    {
			    	var data = eval("("+data+")");
					var html="";
					//alert(data.length);
					for(var i=0;i<data.length&&i<4;i++){
						html+="<li style=\"width:220px;text-align:center;margin:auto;align:center;margin-top:5px;\">";
						html+="<a  target=\"_blank\"  href=\"<%=path%>/expert1/info.jsp?expid="+data[i]['expertid']+"&title="+data[i]['expertname']+"\" >";
						
						/*if(data[i]['photopath']==null||data[i]['photopath']=="undefined"){
								html+="<img src=\"<%=path%>/common/images/no_photo.png\" width=\"75px\" height=\"85px;\" />";
						}else{
							if(trim(data[i]['photopath'])==""){
								html+="<img src=\"<%=path%>/common/images/no_photo.png\" width=\"75px\" height=\"85px;\" />";
							}else{
								html+="<img onerror=\"javascript:this.src='<%=path%>/common/images/no_photo.png'\"  src=\"<%=path%>/expert/image/photo/"+trim(data[i]['photopath'])+"\" width=\"75px\" height=\"85px;\" />";
							} 
						}*/
						
						html+=("<img src=\"/SSTA/expert/image/photo/"+data[i]['expertid']+".jpg\" onerror=\"javascript:this.src='<%=path%>/common/images/no_photo.png'\" width=\"75px\" height=\"85px;\" "); 
						
						html+="</a>"
						
						html+="<div style=\"width:220px;line-height:25px;\"><a  target=\"_blank\"  href=\"<%=path%>/expert1/info.jsp?expid="+data[i]['expertid']+"&title="+data[i]['expertname']+"\" >"
						
						html+="姓名："+data[i]['expertname']+"</a></div>";
						html+="<div style=\"width:220px;line-height:25px;\">专业：";
						html+=data[i]['workspeciality'];
						html+="</div>";
						
						
						html+="</li>";
						
						html+="<div style=\"float:left;width:240px;height:2px;border-bottom:1px dashed #CCCCCC;\"></div>";
					}

					$("#"+divid).html(html);
				}
			});
	}



	$("document").ready(function()
	{
		getProvince_o(); 
        //getOption_o("common","NewEnergyClass","");
        
        //推荐专家
	    var http = "<%=path%>/front/ExpertFrontServlet?method=getRecommendExpertList&showType=ChannelShow";
		load_expert_pos2("tjzj",http);
        
	});
</script> 

<xml id="resultDom"></xml>
</head>

<body>

<%@include file="../common1/toplogin.jsp"%>
<%@include file="../common1/topbanner.jsp"%>
<%@include file="../common1/topmenu.jsp"%>



<!--页面主体部分-->
<div id="contentmain">
    <div id="all_content_left">
    	<%@include file="../common/adleft.jsp"%>
		<div id="border_box_orange" style="padding-bottom:30px;">
		    <div id="ind_title_cont_righttitle"><a href="<%=path%>/expert1/search_results.jsp?key=ChannelShow='1'&topicname=推荐专家" class="blue"><font>推荐专家</font></a><span><a href="<%=path%>/expert1/search_results.jsp?key=ChannelShow='1'&topicname=推荐专家" class="blue">更多...</a></span></div>
			<ul id="tjzj" style="margin-left:5px;">
				<li></li>
				<li></li>
				<li></li>
				<li></li>
			</ul>
		</div>
	</div>
	
	
	
	<div id="all_content_right">
	    <div id="topsearchbox_695">
				<ul>
					<li><img src="<%=path%>/common1/images/search/icon.gif" /></li>
					<li><span class="bluetitle">科研专家高级搜索</span></li>
					<li>
						<a href="<%=path%>/expert1/needforexpert.jsp" target="_self">帮您找专家</a>
					</li>
					<li></li>
				</ul>
		</div>
		
		<form id="searchform" name="searchform"  action="<%=path%>/expert1/search_results.jsp" method="post">
		<div id="border_box" style="height:510px;">
		    <div id="ind_title"><font>当前位置：<a href="/cms" class="blue">首页</a> > <a href="<%=path%>/common1/indexSearch.jsp?searchtype=2_all" class="blue">科研专家</a> > 科研专家查询</font><span></span></div>
			<table width="100%">
				<tr>
					<td width="5%"></td>
					<td width="90%"><div style="width:100%; text-align:center; border-bottom:1px dashed #CCCCCC; margin-top:20px;"><img src="<%=path%>/common1/images/intshow/searchtitle.jpg" /></div></td>
					<td width="5%"></td>
				</tr>
			</table>
			<div style=" width:90%; height:auto; margin:0 auto; overflow:hidden;"><br />
			<table width="100%" border="0" cellpadding="0" cellspacing="0">
			  <tr>
				<td width="22%" height="35" align="right"><span class="orangefont12">姓名：</span>&nbsp;</td>
				<td width="33%" align="left">
					<input type="text" name="item_180" id="item_180" class="inputtext1" />
					<input type="hidden" name="key" id="key" value="" />
					<input type="hidden" name="id" id="id" value="5" />
                    <input type="hidden" name="topicname" id="topicname" value="" />
				</td>
				<td colspan="2" align="left">&nbsp; </td>
			  </tr>
			  
			  
			  <tr>
				<td width="22%" height="35" align="right"><span class="orangefont12">从事专业：</span>&nbsp;</td>
				<td width="33%" align="left">
					<input type="text" name="WorkSpeciality" id="WorkSpeciality" class="inputtext1" />
				</td>
				<td colspan="2" align="left">&nbsp; </td>
			  </tr>
			  
			  <tr>
				<td width="22%" height="35" align="right"><span class="orangefont12">主要成就：</span>&nbsp;</td>
				<td width="33%" align="left">
					<input type="text" name="Achievement" id="Achievement" class="inputtext1" />
				</td>
				<td colspan="2" align="left">&nbsp; </td>
			  </tr>
			  
			  <tr>
				<td width="22%" height="35" align="right"><span class="orangefont12">单位：</span>&nbsp;</td>
				<td width="33%" align="left">　
					<input type="text" name="item_185" id="item_185" class="inputtext1" />
				</td>
				<td colspan="2" align="left">&nbsp; </td>
			  </tr>
			  
			  <!--
			  <tr>
				<td width="22%" height="35" align="right"><span class="bluetitle">专家类别：</span>&nbsp;</td>
				<td width="33%" align="left">
					<select name="NewEnergyClass" id="NewEnergyClass">
					</select>　
				</td>
				<td colspan="2" align="left">&nbsp; </td>
			  </tr>
			   -->
			   
			   
			  <tr>
				<td width="22%" height="35" align="right"><span class="orangefont12">地区：</span>&nbsp;</td>
				<td width="33%" align="left">
					 <select  name="province" id="province" style="width:160px;">
			          	 <option value="">请选择</option>  								 					
			         </select>　
				</td>
				<td colspan="2" align="left">&nbsp; </td>
			  </tr>
			  
			  <tr>
				<td width="22%" height="35" align="right"><span class="orangefont12">年龄：</span>&nbsp;</td>
				<td width="33%" align="left">
					<select name="item_182" id="item_182" style="width:160px;">
						<option value="">请选择</option>  
						<option value="1">25-45岁</option>
						<option value="2">46-60岁</option>
						<option value="3">60岁以上</option>
					</select>　
				</td>
				<td colspan="2" align="left">&nbsp; </td>
			  </tr>
			  
			  <tr>
				<td width="22%" height="35" align="right"><span class="orangefont12">学历：</span>&nbsp;</td>
				<td width="33%" align="left">
					<select name="item_184" id="item_184" style="width:160px;">
						<option value="">请选择</option>  
						<option value="2">博士研究生</option>
						<option value="3">硕士研究生</option>
						<option value="4">本科</option>
                        <option value="9">其他</option>
					</select>　
				</td>
				<td colspan="2" align="left">&nbsp; </td>
			  </tr>
			  <tr>
				<td height="30" style=" border-bottom:1px dashed #CCCCCC;">&nbsp;</td>
				<td style=" border-bottom:1px dashed #CCCCCC;">&nbsp;</td>
				<td style=" border-bottom:1px dashed #CCCCCC;">&nbsp;</td>
				<td style=" border-bottom:1px dashed #CCCCCC;">&nbsp;</td>
			  </tr>
			  <tr>
				<td height="50">&nbsp;</td>
				<td align="left">
					
				<a href="javascript:doSearchA();">
					<img src="<%=path%>/common1/images/search/botton7.gif" border="0"/>
				</a>
				<a href="javascript:resetForm();">
					<img src="<%=path%>/common1/images/search/botton8.gif" border="0"/>
				</a>
				
				</td>
				<td>&nbsp;</td>
				<td>&nbsp;</td>
			  </tr>
			</table>
			</div>
			<br />
		</div>
		</form>
	</div>
</div>
<!--页面主体部分 结束-->

<%@include file="../common1/bottom.jsp"%>
</body>
</html>
